package cn.zjk.springframework.beans.factory;

import cn.zjk.springframework.beans.BeansException;

/**
 * @description: 实现此接口，既能感知到所属的 BeanFactory
 * @Author zjk
 * @className: BeanFactoryAware
 * @date: 2023/3/30 11:28
 */
public interface BeanFactoryAware extends Aware{
    /**
     * 设置BeanFactory
     * @param beanFactory
     * @throws BeansException
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
